package cn.juque.systemservice.entity;

import cn.juque.systemservice.entity.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author JUQUE
 * @version 1.0.0
 * <ul>
 *  <li>simple-generator</li>
 *  <li>员工信息</li>
 * </ul>
 * @date 2022-11-03 11:58:48
 **/
@Data
@TableName(value = "SYS_EMPLOYEE_INFO")
public class EmployeeInfo extends BaseEntity {

    /**
     * 主键
     */
    @TableId(value = "ID", type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 用户全局唯一性ID
     */
    @TableField(value = "USER_ID")
    private String userId;

    /**
     * 员工姓名
     */
    @TableField(value = "EMPLOYEE_NAME")
    private String employeeName;

    /**
     * 员工手机号，可用于登录
     */
    @TableField(value = "EMPLOYEE_TEL")
    private String employeeTel;

    /**
     * 头像
     */
    @TableField(value = "HEAD_URL")
    private String headUrl;

    /**
     * 员工状态：1-待激活；2-已激活；3-禁用,
     */
    @TableField(value = "EMPLOYEE_STATUS")
    private Integer employeeStatus;

    /**
     * 员工密码，默认123456
     */
    @TableField(value = "EMPLOYEE_PASSWORD")
    private String employeePassword;

    /**
     * 邮箱号，可用于登录
     */
    @TableField(value = "EMAIL")
    private String email;

    /**
     * 性别：-1-女士；0-未知；1-男士
     */
    @TableField(value = "SEX")
    private Integer sex;

}
